import matplotlib.pyplot as plt

v_x = 1     # x轴速度
v_y = 1     # y轴速度
time = 50   # 时间
v_a = 0# 加速度

for i in range(0,time):
    #直线
    # x_point = v_x * i
    # y_point = v_y * i
    # plt.plot(x_point, y_point, 'om')  # 绘制紫红色的圆形的点
    
    #曲线
    x_point = v_x * i
    y_point = v_y*v_a * i
    v_a = v_a + 1
    plt.plot(x_point, y_point, 'om')  # 绘制紫红色的圆形的点
   
    plt.pause(0.1)

plt.show()
